<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@page import="com.jaxplat.commons.Row" %>
<%@page import="com.jaxplat.commons.RowImpl" %>
<%
	String contextPath = request.getContextPath();
	if(null == request.getAttribute("dsInfo") || null == request.getAttribute("orderInfo"))
	{
	    Row msg = new RowImpl();
	    msg.addColumn("message", "您提交内容出错了。请按流程提交!");
	    request.getRequestDispatcher("wap/msg.jsp").forward(request, response);
	}
	Row dsInfo = new RowImpl();
	Row orderInfo = new RowImpl();
	
	dsInfo =(Row)request.getAttribute("dsInfo");
	orderInfo =(Row)request.getAttribute("orderInfo");

	
%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>预约订单确认</title>
<link type="text/css"  href="http://183.224.40.27/wxcs/common/css.css" rel="stylesheet" />
<link type="text/css"  href="http://183.224.40.27/wxcs/component/xuanban/css/style.css" rel="stylesheet" />
<link type="text/css"  href="../css/h_wap.css" rel="stylesheet" />
</head>
<body>
<!-- <iframe width="100%" frameborder="0" scrolling="no" style="border:0px none;" src="http://wap.ynicity.cn/wxcs/common/xuanban/header.jsp"></iframe>
 --><div class="wap">
<p style="background: url(http://183.224.40.27/wxcs/upload/images/main_nav_bg.gif) repeat-x scroll left top transparent; font-size:14px; font-variant:1.8; font-weight:bolder; color:#FFF;padding:3px 5px;">
	<a class="back" href="<%=request.getContextPath()%>/wap/index.jsp">首页</a>
	&gt;
	<a class="back" href="<%=request.getContextPath()%>/ivr/doctorToIvrAction.do?method=initSearch_s1">预约挂号</a>
	&gt;
	确认预约
</p>
  <div class="photo_prcoess second"></div>
  <div class="marginAout w240">
    <form name="form1" method="post" action="<%=request.getContextPath()%>/ivr/reserve.do?method=commit">
    <p><strong>就医基本信息</strong></p>
      <table class="wapTable" border="0">
        <tbody>
          <tr>
            <td>专家名称：</td>
            <td>
            	<%=dsInfo.getString("doctor_name") %>
            	<input id="ds_id" name="ds_id" type="hidden" value="<%=dsInfo.getLong("ds_id") %>" /> 
            </td>
          </tr>
          <tr>
            <td> 专家职称： </td>
            <td>
            	<%=dsInfo.getString("pro_title_name") %>
            </td>
          </tr>
          <tr>
            <td> 所属科室： </td>
            <td>
            	<%=dsInfo.getString("sec_name") %>
            </td>
          </tr>
          <tr>
            <td>医院名称： </td>
            <td>
            	<%=dsInfo.getString("hos_name") %>
            </td>
          </tr>
          <tr>
            <td>就诊时间： </td>
            <td>
            	<%=com.jaxplat.util.DateUtils.parseDate( dsInfo.getDate("sc_date")) %> &nbsp;<%=dsInfo.getString("batch_name")%>
            </td>
          </tr>
        </tbody>
      </table>
    <p class="line_wap">&nbsp;</p>
     <p><strong>患者基本信息</strong></p>
      <table class="wapTable usable" border="0">
        <tbody>
          <tr>
            <td>身份证号码：</td>
            <td>
            	<%=orderInfo.getString("id_no") %>
            	<input name="id_no" type="hidden" value="<%=orderInfo.getString("id_no") %>" />
            </td>
          </tr>
          <tr>
            <td> 患者姓名： </td>
            <td>
            	<%=orderInfo.getString("applicant_name") %>
            	<input name="applicant_name" type="hidden" value="<%=orderInfo.getString("applicant_name") %>" />
            </td>
          </tr>
          <tr>
            <td>性别： </td>
            <td>
            	<%
            	if("m".equals(orderInfo.getString("gender")))
            	{
            	    out.print("男");
            	}
            	else
            	{
            	    out.print("女");
            	}
				%>
            	<input name="gender" type="hidden" value="<%=orderInfo.getString("gender") %>" />
			</td>
          </tr>
          <tr>
            <td>手机号码： </td>
            <td>
					<%=orderInfo.getString("mobile_no") %>
					<input name="mobile_no" type="hidden" value="<%=orderInfo.getString("mobile_no") %>" />
			</td>
          </tr>
          <tr>
            <td>出生年月： </td>
            <td>
					<%=(orderInfo.getString("birth_year") + "年" + orderInfo.getString("birth_month") + "月") %>
					<input name="birth_year" type="hidden" value="<%=orderInfo.getString("birth_year") %>" />
					<input name="birth_month" type="hidden" value="<%=orderInfo.getString("birth_month") %>" />
			</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
            <td> 
            	<input name="submit" type="submit" value="确认提交"  class="btn" />
			</td>
          </tr>
        </tbody>
      </table>
    </form>
  </div>
  <p class="line_wap">&nbsp;</p>
  <p class="back_index_link">
		<a class="back" href="<%=contextPath%>/ivr/searchMyReserve.jsp">我的预约</a>
  </p>
</div>
<!-- <iframe width="100%" frameborder="0" scrolling="no" style="border: 0px none;" src="http://wap.ynicity.cn/wxcs/common/xuanban/footer.jsp"> </iframe>
 --></body>
</html>